import loadable from '@loadable/component'
const ChooseAddress = loadable(() => import('./ChooseAddress'))
const Invoice = loadable(() => import('./Invoice'))
const Payment = loadable(() => import('./Payment'))
const Remark = loadable(() => import('./Remark'))
const UserValidation = loadable(() => import('./UserValidation'))

const routerData = [
    {
        path: '/confirmOrder/chooseAddress',
        Component: ChooseAddress
    },
    {
        path: '/confirmOrder/invoice',
        Component: Invoice
    },
    {
        path: '/confirmOrder/payment',
        Component: Payment
    },
    {
        path: '/confirmOrder/remark',
        Component: Remark
    },
    {
        path: '/confirmOrder/userValidation',
        Component: UserValidation
    },
]

export default routerData